<?php

include (__DIR__ . '/../services/userServices.php');

class UserControler {

    var $services;

    public function __construct() {
        $this->services = new UserServices();
    }

    public function login($args) {
        $login = $args['login'];
        $pwd = $args['pwd']; 
        return json_encode($this->services->login($login, $pwd));
    } 

}
